<div class="header">
    <back-Btn></back-Btn>
    补充协议
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item icon_more required" ng-click="chooseProject()">
            <div class="item-label">项目名称</div>
            <div class="flow-content">{{ param.projectName }}</div>
        </div>
        <div class="list-item icon_more required">
            <div class="item-label">合同类型</div>
            <div class="flow-content" style="padding-right:0">
                <select ng-model="param.contractType">
                    <option value="">选择合同类型</option>
                    <option value="Xm_ContractPurchase">采购合同</option>
                    <option value="Xm_ContractRent">租赁合同</option>
                    <option value="Xm_ContractSubpackage">分包合同</option>
                    <option value="Xm_ContractOther">其他合同</option>
                    <option value="Project_ContractApplySingle">工程合同</option>
                </select>
            </div>
        </div>
        <div class="list-item icon_more required" ng-click="chooseContract()">
            <div class="item-label">合同编号</div>
            <div class="flow-content">
                {{ param.contractNo }}
            </div>
        </div>
        <div class="list-item icon_more required">
            <div class="item-label">变更合同金额</div>
            <div class="flow-content" style="padding-right:0">
                <select ng-model="param.amountSupplement" ng-options="item.value as item.key for item in ifchange">
                </select>
                <select ng-model="param.amountSupplement">
                    <option value="">是否变更合同金额</option>
                    <option value="0">不变更</option>
                    <option value="1">变更</option>
                </select>
            </div>
        </div>
        <div class="list-item" ng-class="{required:param.amountSupplement==1}">
            <div class="item-label">需变更的金额</div>
            <div class="flow-content">
                <input type="text" ng-model="param.supplementAmount" tel-directive />
            </div>
        </div>

        <div class="list-item list-item-textarea required">
            <div class="item-label">变更内容</div>
            <div class="flow-content">
                <textarea cols="30" rows="10" ng-model="param.supplementContent"></textarea>
            </div>
        </div>
        <div class="list-item list-item-textarea">
            <div class="item-label">备注</div>
            <div class="flow-content">
                <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined field-map="param.fieldMap" validation="validation" uid="param.uid"
            processid="param.processInstanceId"></div>
        <!-- 附件 -->
        <div class="file-upload" file-upload file-data="param.attachment"></div>
        <!-- 审查日志 -->
        <div log-list taskid="process_id"></div>
    </div>
</div>
<!-- 删除流程 -->
<div delete-flow uid="param.uid" id="{{ param.processInstanceId }}" submit="submit" validate="validate"></div>